home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / QuickDraw™ GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / UserItems ƒ / UserItems.make < prev    next >
Encoding:
Text File  |  1995-04-10  |  1.2 KB  |  48 lines  |  [TEXT/MPS ]

  1. #    File:        UserItems.make
  2. #   Target:     UserItems
  3. #   Sources:    UserItems.a UserItems.c UserItems.r
  4. #   Created:    Sunday, Jun. 6, 1993 1:42:32 AM
  5. #
  6. #    Makefile for a printing extension that shows how
  7. #    to handle hits and updates for userItems in panels.
  8. #    
  9. #    Dave Hersey
  10. #    Apple Developer Technical Support
  11. #    
  12. #    06/06/93 - dmh - Created.
  13. #    09/07/93 - dmh - Updated for b2.
  14. #    12/18/93 - dmh - Updated for b3.
  15. #    8/24/94 - dmh - Finalized.
  16. #
  17.  
  18. #    Alias to the path for the GX interface files.
  19.  
  20. INTPATH = {CIncludes}
  21.  
  22. #    Creator type we'll use:
  23.  
  24. kCreator = 'U$∑®'
  25.  
  26.  
  27. OBJECTS = UserItems.a.o UserItems.c.o
  28. AsmOptions        = -sym off -i "{INTPATH}" -case obj
  29. CompileOptions    = -opt full -d applec -b2 -r -i "{INTPATH}"
  30.  
  31. UserItems.a.o ƒ UserItems.make UserItems.a
  32.      Asm {AsmOptions} UserItems.a
  33. UserItems.c.o ƒ UserItems.make UserItems.c
  34.      C {CompileOptions} UserItems.c
  35.  
  36. UserItems ƒƒ UserItems.make UserItems.r {OBJECTS}
  37.     Link    -ra =resSysHeap,resPurgeable    ∂
  38.             -t 'pext'                        ∂
  39.             -c {kCreator}                    ∂
  40.             -rt pext=0                        ∂
  41.             -sg SEGS                        ∂
  42.             -m EntryPoint                    ∂
  43.             {OBJECTS}                        ∂
  44.             "{Libraries}Runtime.o"            ∂
  45.             -o UserItems;
  46.     SetFile UserItems -a iB;
  47.     Rez -i "{INTPATH}" -rd -o UserItems UserItems.r -append 
  48.